<div class="images form">

<?php
	echo $form->create('Image', array('action'=>'add/'.$model,'type' => 'file')); ?>
	<fieldset>
 		<legend><?php __('Add Image');?></legend>
	<?php
		echo $form->input('owner_id', array('type'=>'hidden','value'=>$ownerId));
		echo $form->input('model', array('type'=>'hidden','value'=>$model));
		echo $form->file('Attachment');
		
	?>
	</fieldset>
<?php echo $form->end('Submit');?>
</div>
<div class="actions">
	<ul>
		<li><?php echo $html->link(__('List Images', true), array('action'=>'index'));?></li>
	</ul>
</div>
